﻿
namespace Test30.Engine
{
    public class Speed:FixedStat
    {
        public static implicit operator int(Speed speed)
        {
            return speed.Current;
        }
        public Speed(int baseValue) : base(baseValue)
        {
        }

        #region FixedStat Members
        protected override int GetBaseMin()
        {
            return Energy.MinSpeed;
        }

        protected override int GetBaseMax()
        {
            return Energy.MaxSpeed;
        }

        protected override int GetTotalMin()
        {
            return Energy.MinSpeed;
        }

        protected override int GetTotalMax()
        {
            return Energy.MaxSpeed;
        }
        #endregion
    }
}
